/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nexus.criterios;

import nexus.criterios.CriterioCalificacion;
import org.apache.myfaces.custom.tree2.TreeNodeBase;

/**
 *
 * @author juampi
 */
public class NodoEvaluacion extends TreeNodeBase{
    
    private CriterioCalificacion criterio;
    public NodoEvaluacion(String type, String description, String identifier, boolean leaf) {
        super(type, description, identifier, leaf);
    }

    public NodoEvaluacion(String type, String description, boolean leaf) {
        super(type, description, leaf);
    }

    /**
     * @return the criterio
     */
    public CriterioCalificacion getCriterio() {
        return criterio;
    }

    /**
     * @param criterio the criterio to set
     */
    public void setCriterio(CriterioCalificacion criterio) {
        this.criterio = criterio;
    }
}
